﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="template.aspx.cs" Inherits="Widgets_Admin_template" %>
<div class="widget_header_main">
<table border="0" cellspacing="0" cellpadding="3" width="100%" class="widget_header_tbl">
<tbody>
   <tr valign="top" class="widget_header_tbl">
      <td width="80%" class="widget_header" id="wdivh{0}">
         <img src="[img]" border="0" />
         <span id="wdivht{0}">[title]</span>
         <input type="text" id="wdivhi{0}" class="widget_title_input" style="display:none" />
      </td>
      <td width="20%" align="right">
         <a id="wdivca{0}" onmouseout="collapse('wdivcd{0}')"><div id="wdivcad{0}" class="MenuCmd"></div></a>
      </td>
   </tr>
</tbody>
</table>
</div>
<div class="widget_body" id="wdivb{0}">
<b>Common Functions</b>
<ul>
<li><a href="/widgets/admin/initialize.aspx" target="_blank">First Time Initialization</a></li>
<li><a href="/widgets/admin/rebuildjs.aspx" target="_blank">Rebuild Javascript</a></li>
<li><a href="/widgets/admin/manage_roles.aspx" target="_blank">xManage Roles</a></li>
<li><a href="/widgets/admin/manage_users.aspx" target="_blank">xManage Users</a></li>
</ul>
<asp:Repeater id="dl_Logs" runat="server">
   <HeaderTemplate>
      <b>Logs</b>
      <ul>
   </HeaderTemplate>
   <FooterTemplate>
      </ul>
   </FooterTemplate>
   <ItemTemplate>
      <li><a href="<%# Eval("URL") %>" target="_blank"><%# Eval("FileName") %></a></li>
   </ItemTemplate>   
</asp:Repeater>
<form id="frm" runat="server">
<h4>Statistics</h4>
<asp:GridView id="GV_Statistics" runat="Server" />

<h4>User Listing</h4>
<asp:GridView id="GV_Users" runat="Server" />

<h4>Takeup Rate</h4>
<asp:GridView id="GV_Widgets" runat="Server" />
</form>
</div>
<div class="widget_footer_collapse" id="wdivf{0}" onclick="W{0}.instance.ToggleExpand();"></div>

<!-- MENU -->
<div class="DropDownMenu" id="wdivcd{0}" onmouseover="cancelcollapse()" onmouseout="collapse('wdivcad{0}')">
<ul class='DDMenu' id="wdivc{0}">
   <li><a onclick="$WI({0}).TitleEdit();collapseMenu('wdivcad{0}');">Edit Widget Title</a></li>
   <li><a onclick="$WI({0}).Edit();collapseMenu('wdivcad{0}');" id="wdivc_edit{0}">Edit Widget Properties</a></li>
   <li><a onclick="$WI({0}).Delete();collapseMenu('wdivcad{0}');">Delete Widget</a></li>
   <li><a onclick="$WI({0}).ToggleExpand();collapseMenu('wdivcad{0}');">Toggle Size</a></li>
</ul>
</div>